#include <implementation_visitor.hpp>
Public Member Functions | |
| ConstImplementationVisitor (void) | |
| Default constructor. | |
| virtual | ~ConstImplementationVisitor (void) |
| Destructor. | |
| virtual void | visit (const PetscVectorWrapper &) |
| The default visit, const version (should just assert or do nothing). | |
| virtual void | visit (const PetscMatrixWrapper &) |
This is const version of a cyclic visitor for the various math implementation classes. It is intended to be used as a parent class for things that are used to extract implementation-specific information from an const implementation agnostic class.
To be safe, these should be used simultaneously on all processes.
| gridpack::math::ConstImplementationVisitor::ConstImplementationVisitor | ( | void | ) |
Default constructor.
| virtual gridpack::math::ConstImplementationVisitor::~ConstImplementationVisitor | ( | void | ) | [virtual] |
Destructor.
| virtual void gridpack::math::ConstImplementationVisitor::visit | ( | const PetscMatrixWrapper & | ) | [virtual] |
| virtual void gridpack::math::ConstImplementationVisitor::visit | ( | const PetscVectorWrapper & | ) | [virtual] |
The default visit, const version (should just assert or do nothing).
1.6.1